package com.xgjweb.fsi.domain;

import com.xgjweb.common.dto.XgjWebDto;
import com.xgjweb.common.utils.XgjWebUtils;

public class Message extends XgjWebDto {
	private Integer id;
	private String content;
	private String date;
	private Integer user_id;
	private User user;
	private Condition condition = new Condition();
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Condition getCondition() {
		return condition;
	}

	public void setCondition(Condition condition) {
		this.condition = condition;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDate() {
		return  XgjWebUtils.dateFormatStr(date);
	}

	public void setDate(String date) {
		this.date = date;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
